package com.example.com.daervideo.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by i7-1 on 2018/11/22.
 */

public class BaseListEntity<T> implements Serializable {

    /**
     * pageSize : 10
     * totalItems : 0
     * pageItems : []
     * pageNO : 1
     * totalPages : 0
     */

    private int pageSize;
    private int totalItems;
    private int pageNO;
    private int totalPages;
    private List<T> pageItems;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalItems() {
        return totalItems;
    }

    public void setTotalItems(int totalItems) {
        this.totalItems = totalItems;
    }

    public int getPageNO() {
        return pageNO;
    }

    public void setPageNO(int pageNO) {
        this.pageNO = pageNO;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public List<?> getPageItems() {
        return pageItems;
    }

    public void setPageItems(List<T> pageItems) {
        this.pageItems = pageItems;
    }
}
